<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_users
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.6
 */

defined('_JEXEC') or die;
$groupid = (int) JRequest::getVar('groupid');
$article='';
switch($groupid)
{
	case 9:
		$article = JUtility::getArticle(7);
		break;
	case 10:
		$article = JUtility::getArticle(8);
		break;
	case 12:
		$article = JUtility::getArticle(51);
		break;
	case 11:
	default:
		$article = JUtility::getArticle(9);
		break;
}
echo $article->introtext;	
?>
<div id="custom-page-heading">
	<h1 class="heading2"><?php echo $article->title; ?></h1>
	<p class="heading2">&nbsp;</p>
</div>

<?php return;?>
<div class="registration-complete<?php echo $this->pageclass_sfx;?>">
	<?php if ($this->params->get('show_page_heading')) : ?>
	<h1>
		<?php echo $this->escape($this->params->get('page_heading')); ?>
	</h1>
	<?php endif; ?>
</div>
